UCF STIG Viewer Logo

If the system is using LDAP for authentication or account information, the system must use a TLS connection using trust certificates signed by the site CA.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000255 RHEL-06-000255 RHEL-06-000255_rule Medium
Description
The tls_cacertdir or tls_cacertfile directives are required when tls_checkpeer is configured (which is the default for openldap versions 2.1 and up). These directives define the path to the trust certificates signed by the site CA.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000255_chk )
To ensure TLS is configured with trust certificates, run the following command:

# grep cert /etc/pam_ldap.conf


If there is no output, or the lines are commented out, this is a finding.
Fix Text (F-RHEL-06-000255_fix)
Ensure a copy of the site's CA certificate has been placed in the file "/etc/pki/tls/CA/cacert.pem". Configure LDAP to enforce TLS use and to trust certificates signed by the site's CA. First, edit the file "/etc/pam_ldap.conf", and add or correct either of the following lines:

tls_cacertdir /etc/pki/tls/CA

or

tls_cacertfile /etc/pki/tls/CA/cacert.pem

Then review the LDAP server and ensure TLS has been configured.